package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.IOrderHystrixService;
import org.springframework.stereotype.Component;

@Component
public class OrderHystrixServiceImpl implements IOrderHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "OrderHystrixServiceImpl paymentInfo_OK fall back";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "OrderHystrixServiceImpl paymentInfo_TimeOut fall back";
    }
}
